import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import Product from '@/components/product'
import Mine from '@/components/mine'
// import  Swiper from '@/components/swiper'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index,
      title:'首页'
    },
    {
      path:'/product',
      name:'Product',
      component:Product,
      title:'借款产品'
    },
    {
      path:'/mine',
      name:'Mine',
      component:Mine,
      title:'我的'
    }
  ]
})
